//
//  LBXDownLoadOperation.h
//  LBXKit
//
//  Created by lbx on 2017/11/6.
//  Copyright © 2017年 lbx. All rights reserved.
//

#import <Foundation/Foundation.h>
@class LBXDownLoadItem;

/**
 下载操作
 */
@interface LBXDownLoadOperation : NSObject

- (instancetype)initWithItem:(LBXDownLoadItem*)item session:(NSURLSession*)session;
- (instancetype)initWithItem:(LBXDownLoadItem*)item session:(NSURLSession*)session request:(NSURLRequest*)request;

- (void)start;
- (void)suspend;
- (void)resume;
- (void)cancel;

@end
